import os

import yaml


def read_yaml(filename):
    filepath = os.path.join(os.path.dirname(__file__), '../config', filename)
    with open(filepath,'r',encoding='utf-8') as f:
        return yaml.safe_load(f)
